<html>
    <head>
        <title>用户列表</title>
        <script type="text/javascript" src="./public/js/jquery-3.1.1.min.js"></script>
    </head>
    <body>
        <div style="width: 100%; height: 30px; background: pink; text-align: center;">
            <a href="javascript:;">用户列表</a>&nbsp;&nbsp;
        </div>
        <table border="1">
            <tr>
                <td>id</td>
                <td>用户名</td>
                <td>昵称</td>
                <td>登录密码</td>
                <td>邮箱</td>
                <td>手机号</td>
                <td>操作</td>
            </tr>
            {foreach from=$arr key=$k item=$v}
            <tr>
                    <td>{$v["id"]}</td>
                    <td>{$v["name"]}</td>
                    <td>{$v["nick_name"]}</td>
                    <td>{$v["pwd"]}</td>
                    <td>{$v["email"]}</td>
                    <td>{$v["tel"]}</td>
                    <td><a href="javascript:;" class="delete2" name="{$v['id']}">删除</a></td>
            </tr>
            {/foreach}
        </table>
    </body>
</html>
<script type="text/javascript" src="./public/js/admin.js"></script>
